package com.fzn.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @program: spring-boot
 * 描述：
 * @author: fzn
 * @create: 2022-03-10 12:46
 **/
@Controller
public class ViewTestController {
    @GetMapping("/fzn")
    public String fzn(Model model){
        model.addAttribute("msg","你好fzn");
        model.addAttribute("link","http://www.baidu.com");
        return "succes";
    }
}